{% extends "base.html" %}

{% block title %} 登陆 {% endblock title %}

{% block meta %}{% endblock meta %}

{% block nav_block %} {% endblock nav_block %}

{% block content %}
<h2>用户登录</h2>
<div>
{% if form.errors %}
{% endif %}
</div>
<form action="/account/login" method="post" enctype="application/x-www-form-urlencoded" name="user_login_forum" class="cssform">
{{ form.as_p }}
<div style="margin-left: 155px;" class="buttons">
<a href="#" class="positive" onclick="document.forms['user_login_forum'].submit();"><img src="/medias/image/icons/submit.png" alt=""/>登陆</a>
<a href="#" class="negative" onclick="document.forms['user_login_forum'].reset();"><img src="/medias/image/icons/reset.png" alt=""/>重置</a>
</div> 

</form>
{% endblock content %}